Returns the number of mip levels ("mip maps") the specified image contains.
If the image is an array texture or a cubemap, all images in it have the same number of mip levels.
Syntax
Return Dword = DX11 GET IMAGE MIP LEVELS(img)
Parameters
img
Dword The image to get the number of mip levels of.
Returns
The number of mip levels used by the specified image.